﻿	  <!--################### 购物车数量显示代码 ###################-->
<link href="/ui/css/Hui.css" rel="stylesheet" type="text/css" />
	  <style>
.icon1 {
    width: 20px;
    height: 24px;
    display: block;
    border: none;
    float: left;
    margin-top: 7px;
	    background-size: 20px;
    background-repeat: no-repeat;
}

	  
	  
	  .icon-home {
    background-image: url("/ui/image/首页-2.png");
}
.icon-miquan {
    background-image: url("/ui/image/圈子.png");
}
.icon-xiaoxi {
    background-image: url("/ui/image/消息.png");
}
.icon-geren {
    background-image: url("/ui/image/个人中心.png");
}

.icon-home1 {
    background-image: url("/ui/image/首页-3.png");
}
.icon-miquan1 {
    background-image: url("/ui/image/亲子圈-3.png");
}
.icon-xiaoxi1 {
    background-image: url("/ui/image/消息-2.png");
}
.icon-geren1 {
    background-image: url("/ui/image/个人中心-2.png");
}

.aui-footer {
    width: 100%;
    position: relative;
    z-index: 100;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 7px 5px 7px 5px;
    background-color: #ffffff;
}

.aui-footer:after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    border-top: 1px solid #D9D9D9;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

.aui-tabBar-item {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: #979797;
    text-decoration: none;   
}

.aui-tabBar-item-text {
    display: inline-block;
    font-size: 13px;
    color: #666666;
    padding-top: 2px;
}

.aui-tabBar-item-active .aui-tabBar-item-text {
    color: #FF9800;
}

	  </style>
  
	  <?php
//
	  $sqladdmi = "select * from tbl_user where id='".$_COOKIE['userid']."'";
      $queryaddmi=mysql_query($sqladdmi);
      $rowaddmi=mysql_fetch_array($queryaddmi);
      $addmima= strtotime($rowaddmi['change_pwd_time']); 
	  
	  if($_COOKIE['addmima']!=$addmima){
		echo "<script type='text/javascript'>alert('已在其他客户端修改密码，请重新登录');location.href='logout.php';</script>";
	  }
  
	  ?>
	  <?php
		  if($_COOKIE['userid']){
	  $sqlsdan = "select * from tbl_shuadan  where uid='".$_COOKIE['userid']."'";
      $querysdan=mysql_query($sqlsdan);
      $rowsdan=mysql_fetch_array($querysdan);
if(!$rowsdan){
	
	$shuadan=rand(199,999);
	$scang=rand(55,80);	
	$dianji=rand(1000,2000);		
	$sql = "insert into
	 tbl_shuadan
	  values (
	  	0,
	  	'".$_COOKIE['userid']."',
		'".$scang."',
		'".$shuadan."',
		'".$dianji."'		
		)";
	mysql_query($sql);	
}		  	  
		  }

	  $allurl='http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'];
 

	  ?>

	  <!--底部公告引用线 -->
	
    <footer class="H-footer H-flexbox-horizontal H-theme-background-color-white H-margin-vertical-top-10 H-footer-half" id="footer">
        <div tapmode="" onclick="H.openWin('index', 'index.php');" class="H-flex-item H-center-all H-text-align-center H-theme-font-color-999 H-touch-active  ">
            <div>
                <a href="javascript:;" class="aui-tabBar-item aui-tabBar-item-active">
                    <span class="aui-tabBar-item-icon">
                        <i class="icon1 icon-home"></i>
                    </span>
                    <span class="aui-tabBar-item-text">首页</span>
                </a>
            </div>
        </div>
        <div tapmode="" onclick="H.openWin('miquan', 'miquan.php?one=25');" class="H-flex-item H-center-all H-text-align-center H-theme-font-color-999 H-touch-active ">
            <div>
                <a href="javascript:;" class="aui-tabBar-item aui-tabBar-item-active">
                    <span class="aui-tabBar-item-icon">
                        <i class="icon1 icon-miquan"></i>
                    </span>
                    <span class="aui-tabBar-item-text">蜜圈</span>
                </a>
            </div>
        </div>
        <div onclick="H.swiperShare('.single-menu', '.share-menu', 'space');" class="H-flex-item H-center-all H-text-align-center  H-theme-font-color-white H-position-relative">
            <div class="H-footer-cover-half-line H-position-absolute H-z-index-20 H-theme-background-color-white H-width-100-percent H-height-100-percent"></div>
   
            <div>
                <span class="H-icon H-display-block H-line-height-normal H-center-all H-theme-background-color8 H-border-radius-circle H-position-relative H-z-index-15 " style="height:50px;width:50px; top:-14px;"><i class="H-iconfont H-icon-add H-font-size-26"></i></span>
            </div>
        </div>
        <div tapmode="" onclick="H.openWin('xiaoxi', 'xiaoxi.php');"  class="H-flex-item H-center-all H-text-align-center  H-theme-font-color-999 H-touch-active ">
            <div>
                <a href="javascript:;" class="aui-tabBar-item aui-tabBar-item-active">
                    <span class="aui-tabBar-item-icon">
                        <i class="icon1 icon-xiaoxi"></i>
                    </span>
                    <span class="aui-tabBar-item-text">消息</span>
                </a>
            </div>
        </div>
        <div tapmode="" onclick="H.openWin('my', 'my.php');" class="H-flex-item H-center-all H-text-align-center  H-theme-font-color-999 H-touch-active ">
            <div>
                <a href="javascript:;" class="aui-tabBar-item aui-tabBar-item-active">
                    <span class="aui-tabBar-item">
                        <i class="icon1 icon-geren"></i>
                    </span>
                    <span class="aui-tabBar-item-text">我的</span>
                </a>
            </div>
        </div>
    </footer>
	  <!--################### 华丽的分割线 ###################-->
           
	 <!--################################单行分享区域#开始###############################-->
    <div class="single-menu H-background-color-transparent-1 H-flexbox-vertical H-display-none-important H-position-absolute H-vertical-top-0 H-horizontal-left-0 H-horizontal-right-0 H-vertical-bottom-0 H-height-100-percent H-width-100-percent H-z-index-1000000">
        <div class="space H-flex-item"></div>
        <div class="share-menu" style="width: 100%;height: 100%;" >			  
            <div class="H-flexbox-horizontal H-text-align-center H-theme-background-color-white H-padding-vertical-both-10" style="background-image:              url(/ui/image/上传背景图片.png);height: 100%;background-size: 100% 100%;">

                <div class="H-flex-item" onclick="H.openWin('photovideo3', 'photovideo3.php');" style="height: 20%;margin-top: 90%;">
                   
					
					<img src="/ui/image/相机@3x.png" style="width: 60px;">
					
                    <label class="H-display-block H-font-size-13 H-margin-vertical-top-5">照片分享</label>
                </div>
                
                <div class="H-flex-item"  onclick="H.openWin('fabumethod', 'fabumethod.php');" style="height: 20%;margin-top: 90%;"> 
                  
					
					<img src="/ui/image/文章@3x.png" style="width: 60px;">
					
			
                    <label class="H-display-block H-font-size-13 H-margin-vertical-top-5">攻略文章</label>
                </div>
				
                <div class="H-flex-item"  onclick="H.openWin('fabuxianzhi', 'fabuxianzhi.php');" style="height: 20%;margin-top: 90%;"> 
                  
			
			<img src="/ui/image/交易@3x.png" style="width: 60px;">
			
			
                    <label class="H-display-block H-font-size-13 H-margin-vertical-top-5">闲置交易</label>
                </div>

                <div class="H-flex-item"  onclick="H.openWin('fabuskill', 'fabuskill.php');" style="height: 20%;margin-top: 90%;"> 
                   
				<img src="/ui/image/技能@3x.png" style="width: 60px;">
					
			
                    <label class="H-display-block H-font-size-13 H-margin-vertical-top-5">技能发布</label>
                </div>				
            </div>
			  <label tapmode="" onclick="H.swiperShare('.single-menu', '.share-menu', 'space');"   class="H-display-block H-font-size-13 H-margin-vertical-top-5" style="margin-top: -65px;text-align: center;" >
			  	<img src="/ui/image/发布取消叉@3x.png" style="width: 20px;">
			  
			  </label>
			  <label class="H-display-block H-font-size-13 H-margin-vertical-top-5" style="margin-top: -68px;text-align: center;">提示:母婴商城发布在电脑端完成</label>
		
			  <label class="H-display-block H-font-size-13 H-margin-vertical-top-5" style="margin-top: -110%;margin-left: 20px;font-size: 24px;">发布</label>
			  <label class="H-display-block H-font-size-13 H-margin-vertical-top-5" style="margin-top: 2%;margin-left: 20px;font-size: 14px;">玩转众晒,就现在</label>		

        </div>
    </div>
     <!--################################单行分享区域结束################################--> 
	 <!-- 这是美洽的嵌入代码 -->
<script type='text/javascript'>
    (function(m, ei, q, i, a, j, s) {
        m[i] = m[i] || function() {
            (m[i].a = m[i].a || []).push(arguments)
        };
        j = ei.createElement(q),
            s = ei.getElementsByTagName(q)[0];
        j.async = true;
        j.charset = 'UTF-8';
        j.src = 'https://static.meiqia.com/dist/meiqia.js?_=t';
        s.parentNode.insertBefore(j, s);
    })(window, document, 'script', '_MEIQIA');
    _MEIQIA('entId', '65407');

    // 在这里开启无按钮模式（常规情况下，需要紧跟在美洽嵌入代码之后）
    _MEIQIA('withoutBtn');
</script>
<script type='text/javascript'>
    // 当你使用了「手动初始化」时，就可以在自己的逻辑中选择合适的时机调用 withoutBtn
    // 只要是在美洽初始化之前，就可以被正确执行
    _MEIQIA('withoutBtn');
    _MEIQIA('init');
</script>
<!-- 这是美洽的嵌入代码 -->
<script>

var allurl='<?echo $allurl?>';
document.cookie="popped="+allurl+";path=/"		
</script>
<!-- 这是统计的嵌入代码 -->
				<script>
var _mtac = {};
(function() {
    var mta = document.createElement("script");
    mta.src = "http://pingjs.qq.com/h5/stats.js?v2.0.2";
    mta.setAttribute("name", "MTAH5");
    mta.setAttribute("sid", "500475478");
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(mta, s);
})();
</script>
<!-- 这是统计的嵌入代码 -->

<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
    document.write("<script src='accessToken/signPackage.php?originUrl=" + window.location.href + "' type='text/javascript'><\/script>");
</script>
<script>
    var baseUrl = window.location.href;
    var img = 'http://www.goodshare.com.cn/upload/zu.png';	
    var title = '众晒网';
    var desc = '让你晒到停不下来';	
    var wxData = {
        "imgUrl" : img,
        "link"   : baseUrl,
        "title"  : title,
        "desc"   : desc
    };
    wx.config({
        debug: false,
        appId: signPackage.appId,
        timestamp: parseInt(signPackage.timestamp),
        nonceStr: signPackage.nonceStr,
        signature: signPackage.signature,
        jsApiList: [
            'onMenuShareTimeline',
            'onMenuShareAppMessage'
        ]
    });
    wx.ready(function () {
        wx.onMenuShareTimeline({
            title: wxData.title,
            link: wxData.link,
            imgUrl: wxData.imgUrl,
            success: function () {
            }
        });
        wx.onMenuShareAppMessage({
            title: wxData.title,
            desc: wxData.desc,
            link: wxData.link,
            imgUrl: wxData.imgUrl,
            type: 'link',
            dataUrl: '',
            success: function () {
            }
        });
    });
</script>

<!--################################单行分享区域结束################################--> 